package com.lggry.array.operator;

public class OperatorDemo3 {
    public static void main(String[] args) {
        //目标：掌握扩展的赋值运算符
        receiveRedPacket(50);

    }
    //需求：收红包
    public static void receiveRedPacket(int b) {
        //拿到自己钱包的金额。
        int a = 100;
        a += b;
        System.out.println(a);
    }
}
